package com.sg.bean;

/**
 * @author fyp
 * 外卖地址实体类
 */
public class Food {

    /**
     *地址编号
     */
    private int foodId;

    /**
     *地址名称
     */
    private String foodAddress;

    /**
     *用户编号
     */
    private int uId;

    public Food() {
    }

    public Food(int foodId, String foodAddress, int uId) {
        this.foodId = foodId;
        this.foodAddress = foodAddress;
        this.uId = uId;
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", foodAddress='" + foodAddress + '\'' +
                ", uId=" + uId +
                '}';
    }

    public int getFoodId() {
        return foodId;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public String getFoodAddress() {
        return foodAddress;
    }

    public void setFoodAddress(String foodAddress) {
        this.foodAddress = foodAddress;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }
}
